package com.dwd.pay.pojo;

import com.dwd.basic.pojo.BaseBean;
import com.dwd.org.pojo.Shop;
import com.dwd.user.pojo.User;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
/**
 * @Description: TODO
 * @Author 汶狄
 * @Date 2021/1/28 10:11
 * @Version 1.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class PayBill extends BaseBean {
    private String digest;
    private BigDecimal money;
    /**
     * 统一支付单号
     */
    private String unionPaySn;
    private Integer state=1;
    private Date lastPayTime;
    /**
     * 3 支付宝 2 微信 1 银联
     */
    private Integer payChannel;
    /**
     * 业务类型
     */
    private String businessType;
    /**
     * 业务健
     */
    private Long businessKey;
    private Date updateTime;
    private Date createTime=new Date();
    private User user;
    private Shop shop;
    private String orderSn;

}
